package com.okaixz.client.service;

import com.okaixz.client.model.domain.PwdTagInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cdz
 * @since 2025-09-17
 */
public interface IPwdTagInfoService extends IService<PwdTagInfo> {

    PwdTagInfo addOrUpdate(String name,int type);

    @Transactional
    Boolean deleteTag(PwdTagInfo pwdTagInfo);

    List<PwdTagInfo> uploadAll(List<PwdTagInfo> pwdTagInfoList);
    List<PwdTagInfo> downloadAll();
}
